def encoding(password):
    str1='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'
    str2='QWASZXERDFCVTYGHNBUIKJMLOPpoiulkjmyhgntbfrvdecxswqaz9514632708'
    pd = ''
    for i in range(len(password)):
        if password[i] == ' ':
            print(' ',end='')
        else:
            k=0
            for k in range(0,62):
                if password[i]==str1[k]:
                    pd = pd + str2[k]
    return pd

def decodeing(password):
    str1='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'
    str2='QWASZXERDFCVTYGHNBUIKJMLOPpoiulkjmyhgntbfrvdecxswqaz9514632708'
    pd = ''
    for i in range(len(password)):
        if password[i] == ' ':
            print(' ',end='')
        else:
            k=0
            for k in range(0,62):
                if password[i]==str2[k]:
                    pd = pd + str1[k]
    return pd